package com.sixfoot.facade.permission;

import org.springframework.stereotype.Component;

import com.sixfoot.domain.Permission;
import com.sixfoot.foundation.mapping.adapter.AbstractDtoAdapter;

@Component
public class PermissionAdapter extends AbstractDtoAdapter<Permission, PermissionDto, PermissionInputArgs> {

	@Override
	public Permission postConvertToDo(PermissionInputArgs i, Permission d) {
		return postUpdate(i, d);
	}

	@Override
	public Permission postUpdate(PermissionInputArgs i, Permission d) {
		return d;
	}

}
